package com.neuedu.proapi.controller;

import com.neuedu.proapi.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@CrossOrigin(origins = "*")
@RestController
public class UniversityInformationController {
    @Autowired
    private UniversityInformationService universityInformationService ;
    @GetMapping("/queryUniversityInformation")
    public Object queryUniversityInformation(){
        return universityInformationService.queryUniversityInformation();
    }
    @Autowired
    private SumCollegeService sumCollegeService;
    @GetMapping("/querySumCollege")
    public Object querySumCollege(){
        return sumCollegeService.querySumCollege();
    }
    @Autowired
    private BeiJingService beiJingService;
    @GetMapping("/queryBeiJing")
    public Object queryBeiJing(){
        return beiJingService.queryBeiJing();
    }
    @Autowired
    private LiaoNingService liaoNingService ;
    @GetMapping("/queryLiaoNing")
    public Object queryLiaoNing(){
        return liaoNingService.queryLiaoNing();
    }
    @Autowired
    private HeiLongJiangService heiLongJiangService;
    @GetMapping("/queryHeiLongJiang")
    public Object queryHeiLongJiang(){
        return heiLongJiangService.queryHeiLongJiang();
    }
    @Autowired
    private ShangHaiService shangHaiService;
    @GetMapping("/queryShangHai")
    public Object queryShangHai(){
        return shangHaiService.queryShangHai();
    }
    @Autowired
    private RuanJianService ruanJianService;
    @GetMapping("/queryRuan")
    public Object queryRuan(){
        return ruanJianService.queryRuan();
    }
}
